import request from '@/utils/request'

// 查询互通里程实测数据测试列表
export function listInterchangeMileageStatTest(query) {
  return request({
    url: '/functiontest/InterchangeMileageStatTest/list',
    method: 'get',
    params: query
  })
}

// 查询互通里程实测数据测试详细
export function getInterchangeMileageStatTest(id) {
  return request({
    url: '/functiontest/InterchangeMileageStatTest/' + id,
    method: 'get'
  })
}

// 新增互通里程实测数据测试
export function addInterchangeMileageStatTest(data) {
  return request({
    url: '/functiontest/InterchangeMileageStatTest',
    method: 'post',
    data: data
  })
}

// 修改互通里程实测数据测试
export function updateInterchangeMileageStatTest(data) {
  return request({
    url: '/functiontest/InterchangeMileageStatTest',
    method: 'put',
    data: data
  })
}

// 删除互通里程实测数据测试
export function delInterchangeMileageStatTest(id) {
  return request({
    url: '/functiontest/InterchangeMileageStatTest/' + id,
    method: 'delete'
  })
}

// 导出互通里程实测数据测试
export function exportInterchangeMileageStatTest(query) {
  return request({
    url: '/functiontest/InterchangeMileageStatTest/export',
    method: 'post',
    params: query,
    responseType: 'blob'
  })
}
